{subtemplate jameson_read:gjj/read_header}
<!--[diy=diy1]--><div id="diy1" class="area"></div><!--[/diy]-->
<div class="uk-grid-collapse none jamesonread_lazyload" uk-grid>
	<div class="uk-width-expand">
				<div class="uk-margin-remove uk-padding-remove slickautoplay" id="gjj_flash">
				    <!--{loop $topics[0]['books'] $key $book}-->
					<div class="">
			           <a href="{eval echo jamesonurl('book',$book['book_id']);}"><img src="{if $book['image'] && preg_match('/^http|\/\//i',$book['image'])}{$book['image']}{elseif $book['image']}./data/attachment/forum/{$book['image']}{else}{$_G['jameson_read']['morenfengmian']}{/if}" alt=""></a>
			           <div class="uk-overlay uk-overlay-default uk-position-bottom pt10 pb10 pl10 pr10">
							<a href="{eval echo jamesonurl('book',$book['book_id']);}" class="uk-text-danger">[{$book['book_name']}]</a>
			               <p class="uk-text-truncate mt0 ">{if $book['desco']}{eval echo cutstr($book['desco'],40)}{else}{lang jameson_read:haimeiyoudesco}{/if}
			               </p>
			           </div>
			       </div>
				    <!--{/loop}-->
				</div>
	</div>
	<div class="uk-width-medium">
		<div class="gjjflash_right border-cc uk-margin-left tabtoggle">
			<ul class="uk-subnav uk-margin-remove uk-padding-remove" uk-switcher>
			    <li><a href="javascript:;">{lang jameson_read:jingxuantushu}</a></li>
			    <li><a href="javascript:;">{lang jameson_read:xinshushangjia}</a></li>
			</ul>
			<ul class="uk-switcher uk-margin-remove uk-padding-remove">
				<li>
					<ul class="pl10 pr10 uk-list-30">
					<!--{loop $paihangbang['tuijian'] $key $book}-->
					<!--{if $key  < 9}-->
						<li class="cl">
							<a class=" xg1" href="{eval echo jamesonurl('category',$book['category_id'])}">
								[{$book['category_name']}]
							</a>
							<a class="" href="{eval echo jamesonurl('book',$book['book_id']);}" >{$book['book_name']}</a>
						</li>
					{/if}
					{/loop}
					</ul>
				</li>
				<li>
					<ul class="pl10 pr10 uk-list-30">
					<!--{loop $paihangbang['zuixin'] $key $book}-->
					<!--{if $key  < 9}-->
						<li class="cl">
							<a class="xg1 " href="{eval echo jamesonurl('category',$book['category_id'])}">
								[{$book['category_name']}]
							</a>
							<a class="" href="{eval echo jamesonurl('book',$book['book_id']);}" >{$book['book_name']}</a>
						</li>
					{/if}
					{/loop}
					</ul>
				</li>
			</ul>
		</div>
	</div>
</div>

<!--{if $indexadv[0]['adv']}-->
<div class="advbanner mtm mbm">
    <!--{eval echo stripcslashes($indexadv[0]['adv']);}-->
</div>
<!--{/if}-->
<div class="uk-grid-collapse uk-margin-top" uk-grid>
	<div class="uk-width-expand">
		<div class="zuiremen border-cc">
			<div class="back-top">{lang jameson_read:zuiremen}</div>
			<div class="uk-child-width-1-2 uk-grid-collapse" uk-grid>
				<div class="cl">
					<a href="{eval echo jamesonurl('book',$paihangbang['yuedu'][0]['book_id']);}" class="z">
						<img src="{if $paihangbang['yuedu'][0]['image'] && preg_match('/^http|\/\//i',$paihangbang['yuedu'][0]['image'])}{$paihangbang['yuedu'][0]['image']}{elseif $paihangbang['yuedu'][0]['image']}./data/attachment/forum/{$paihangbang['yuedu'][0]['image']}{else}{$_G['jameson_read']['morenfengmian']}{/if}" alt="">
					</a>
					<div class="z">
						<a href="{eval echo jamesonurl('book',$paihangbang['yuedu'][0]['book_id']);}" class="zuiremen-title">{$paihangbang['yuedu'][0]['book_name']}</a>
						<p>{$paihangbang['yuedu'][0]['desco']}</p>
						<ul class="uk-margin-remove uk-padding-remove">
							{loop $paihangbang['yuedu'] $k $book}
								{if $k && $k < 5}
								<li class="uk-text-truncate">
									<a class="xg1 xw0 mr10" href="{eval echo jamesonurl('category',$book['category_id']);}">[{$book['category_name']}]</a>
									<a href="{eval echo jamesonurl('book',$book['book_id']);}">{$book['book_name']}</a>
								</li>
								{/if}
							{/loop}
						</ul>
					</div>
				</div>
				<div class="cl">
					<a href="{eval echo jamesonurl('book',$paihangbang['yuedu'][5]['book_id']);}" class="z">
						<img src="{if $paihangbang['yuedu'][5]['image'] && preg_match('/^http|\/\//i',$paihangbang['yuedu'][5]['image'])}{$paihangbang['yuedu'][5]['image']}{elseif $paihangbang['yuedu'][5]['image']}./data/attachment/forum/{$paihangbang['yuedu'][5]['image']}{else}{$_G['jameson_read']['morenfengmian']}{/if}" alt="">
					</a>
					<div class="z">
						<a href="{eval echo jamesonurl('book',$paihangbang['yuedu'][5]['book_id']);}" class="zuiremen-title">{$paihangbang['yuedu'][5]['book_name']}</a>
						<p>{$paihangbang['yuedu'][5]['desco']}</p>
						<ul class="uk-margin-remove uk-padding-remove">
							{loop $paihangbang['yuedu'] $k $book}
								{if $k>4 && $k < 9}
								<li class="uk-text-truncate">
									<a class="xg1 xw0 mr10" href="{eval echo jamesonurl('category',$book['category_id']);}">[{$book['category_name']}]</a>
									<a href="{eval echo jamesonurl('book',$book['book_id']);}">{$book['book_name']}</a>
								</li>
								{/if}
							{/loop}
						</ul>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div class="uk-width-medium">
		<div class="border-cc uk-margin-left">
			<div class="back-top">{lang jameson_read:gonggao}</div>
			<ul class="gonggao uk-margin-remove uk-padding-remove uk-list-nobor pl10 pr10">
	            <!--{loop $toutiaos $key $t}-->
	            <!--{if $key < 6}-->
	            <li class="uk-text-truncate">
	                <a href="{$t['url']}">
	                    <!--{$t['image']}-->
	                </a>
	            </li>
	            <!--{/if}-->
	            <!--{/loop}-->
	        </ul>
		</div>
	</div>
</div>
<!--{if $indexadv[1]['adv']}-->
<div class="advbanner mtm mbm">
    <!--{eval echo stripcslashes($indexadv[1]['adv']);}-->
</div>
<!--{/if}-->
{loop $categorys $pid $root}
{if $root['tuijian']}
<div class="uk-grid-collapse uk-margin-top" uk-grid>
	<div class="uk-width-expand">
		<div class="border-cc">
			<div class="back-top"><a href="{eval echo jamesonurl('category',$root['category_id']);}">{$root['category_name']}</a></div>
			<div class="uk-grid-collapse catelistbook" uk-grid>
				<div class="uk-width-medium">
					<div class="uk-inline mt0 border-cc">
			           <a href="{eval echo jamesonurl('book',$root['tuijian'][0]['book_id']);}"><img src="{if $root['tuijian'][0]['image'] && preg_match('/^http|\/\//i',$root['tuijian'][0]['image'])}{$root['tuijian'][0]['image']}{elseif $root['tuijian'][0]['image']}./data/attachment/forum/{$root['tuijian'][0]['image']}{else}{$_G['jameson_read']['morenfengmian']}{/if}" alt=""></a>
			           <div class="uk-overlay uk-overlay-default uk-position-bottom uk-padding-small">
			           	   <div class="uk-text-center"><a class="xs3 color-360" href="{eval echo jamesonurl('book',$root['tuijian'][0]['book_id']);}">{$root['tuijian'][0]['book_name']}</a></div>
			               <p>{if $root['tuijian'][0]['desco']}{eval echo cutstr($root['tuijian'][0]['desco'],50)}{else}{lang jameson_read:haimeiyoudesco}{/if}
							<a href="{eval echo jamesonurl('book',$root['tuijian'][0]['book_id']);}" class="uk-text-danger">[{lang jameson_read:yuedu}]</a>
			               </p>
			           </div>
			       </div>
				</div>
				<div class="uk-width-expand pr10">
					<div class="uk-child-width-1-3 uk-grid-small" uk-grid>
						{loop $root['tuijian'] $k $book}
							{if $k && $k < 7}
							<div class="mt0 mb10 ">
								<div class="uk-inline uk-text-center">
						           	<a href="{eval echo jamesonurl('book',$book['book_id']);}">
						           		<img src="{if $book['image'] && preg_match('/^http|\/\//i',$book['image'])}{$book['image']}{elseif $book['image']}./data/attachment/forum/{$book['image']}{else}{$_G['jameson_read']['morenfengmian']}{/if}" alt="">
						           	</a>
						           	<div class="uk-overlay uk-overlay-default uk-position-bottom uk-padding-remove uk-text-truncate">
										<a href="{eval echo jamesonurl('book',$book['book_id']);}" class="xs1 xw1">{$book['book_name']}</a>
						           	</div>
						       	</div>
						    </div>
							{/if}
						{/loop}
					</div>
				</div>
			</div>
		</div>	
	</div>
	<div class="uk-width-medium">
		<div class="border-cc uk-margin-left">
			<div class="back-top">{lang jameson_read:yuedubang}</div>
			<ul class="uk-margin-remove pl10 pr10 uk-list-paihang">
				{loop $root['yuedu'] $k $book}
					{if $k < 12}
					<li class="uk-text-truncate">
						<span class="num num_{$k}">{eval echo $k+1;}</span>
						<a href="{eval echo jamesonurl('book',$book['book_id']);}">{$book['book_name']}</a>
					</li>
					{/if}
				{/loop}
			</ul>
		</div>
	</div>
</div>
{/if}
{/loop}
<!--{if $indexadv[2]['adv']}-->
<div class="advbanner mtm mbm">
    <!--{eval echo stripcslashes($indexadv[2]['adv']);}-->
</div>
<!--{/if}-->


<div class="uk-grid-collapse uk-margin-top" uk-grid>
	<div class="uk-width-expand">
		<div class="zuiremen border-cc">
			<div class="back-top cl">
				<div class="uk-grid-collapse uk-child-width-1-2" uk-grid>
					<div class="uk-text-truncate">{$topics[1]['name']}</div>
					<div class="uk-text-truncate">{$topics[2]['name']}</div>
				</div>
			</div>
			<div class="uk-child-width-1-2 uk-grid-collapse uk-margin-bottom" uk-grid>
				<div class="cl">
					<a href="{eval echo jamesonurl('book',$topics[1]['books'][0]['book_id']);}" class="z">
						<img src="{if $topics[1]['books'][0]['image'] && preg_match('/^http|\/\//i',$topics[1]['books'][0]['image'])}{$topics[1]['books'][0]['image']}{elseif $topics[1]['books'][0]['image']}./data/attachment/forum/{$topics[1]['books'][0]['image']}{else}{$_G['jameson_read']['morenfengmian']}{/if}" alt="">
					</a>
					<div class="z">
						<a href="{eval echo jamesonurl('book',$topics[1]['books'][0]['book_id']);}" class="zuiremen-title">{$topics[1]['books'][0]['book_name']}</a>
						<p>{$topics[1]['books'][0]['desco']}</p>
						<ul class="uk-margin-remove uk-padding-remove">
							{loop $topics[1]['books'] $k $book}
								{if $k && $k < 5}
								<li class="uk-text-truncate">
									<a href="{eval echo jamesonurl('book',$book['book_id']);}">{$book['book_name']}</a>
								</li>
								{/if}
							{/loop}
						</ul>
					</div>
				</div>
				<div class="cl">
					<a href="{eval echo jamesonurl('book',$topics[2]['books'][0]['book_id']);}" class="z">
						<img src="{if $topics[2]['books'][0]['image'] && preg_match('/^http|\/\//i',$topics[2]['books'][0]['image'])}{$topics[2]['books'][0]['image']}{elseif $topics[2]['books'][0]['image']}./data/attachment/forum/{$topics[2]['books'][0]['image']}{else}{$_G['jameson_read']['morenfengmian']}{/if}" alt="">
					</a>
					<div class="z">
						<a href="{eval echo jamesonurl('book',$topics[2]['books'][0]['book_id']);}" class="zuiremen-title">{$topics[2]['books'][0]['book_name']}</a>
						<p>{$topics[2]['books'][0]['desco']}</p>
						<ul class="uk-margin-remove uk-padding-remove">
							{loop $topics[2]['books'] $k $book}
								{if $k && $k < 5}
								<li class="uk-text-truncate">
									<a href="{eval echo jamesonurl('book',$book['book_id']);}">{$book['book_name']}</a>
								</li>
								{/if}
							{/loop}
						</ul>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div class="uk-width-medium">
		<div class="border-cc uk-margin-left">
			<div class="back-top">{lang jameson_read:shoucangbang}</div>
			<ul class="gonggao uk-margin-remove uk-padding-remove uk-list-paihang pl10 pr10 pt5">
	            {loop $paihangbang['shoucang'] $k $book}
					{if $k < 6}
					<li class="uk-text-truncate">
						<span class="num num_{$k}">{eval echo $k+1;}</span>
						<a href="{eval echo jamesonurl('book',$book['book_id']);}">{$book['book_name']}</a>
					</li>
					{/if}
				{/loop}
	        </ul>
		</div>
	</div>
</div>


<div class="uk-grid-collapse uk-margin-top" uk-grid>
	<div class="uk-width-medium">
		<div class="border-cc tabtoggle">
			<ul class="uk-subnav uk-margin-remove uk-padding-remove" uk-switcher>
			    <li><a href="javascript:;">{lang jameson_read:wanjiebang}</a></li>
			    <li><a href="javascript:;">{lang jameson_read:haopingbang}</a></li>
			</ul>
			<ul class="uk-switcher uk-margin-remove uk-padding-remove">
				<li>
					<ul class="pl10 pr10 uk-list-30">
					<!--{loop $paihangbang['end'] $key $book}-->
					<!--{if $key  < 15}-->
						<li class="cl">
							<a class=" xg1" href="{eval echo jamesonurl('category',$book['category_id'])}">
								[{$book['category_name']}]
							</a>
							<a class="" href="{eval echo jamesonurl('book',$book['book_id']);}" >{$book['book_name']}</a>
						</li>
					{/if}
					{/loop}
					</ul>
				</li>
				<li>
					<ul class="pl10 pr10 uk-list-30">
					<!--{loop $paihangbang['haoping'] $key $book}-->
					<!--{if $key  < 15}-->
						<li class="cl">
							<a class="xg1 " href="{eval echo jamesonurl('category',$book['category_id'])}">
								[{$book['category_name']}]
							</a>
							<a class="" href="{eval echo jamesonurl('book',$book['book_id']);}" >{$book['book_name']}</a>
						</li>
					{/if}
					{/loop}
					</ul>
				</li>
			</ul>
		</div>
	</div>
	<div class="uk-width-expand">
		<div class="uk-margin-left border-cc">
			<div class="back-top">{lang jameson_read:zuijingengxin}</div>
			<table class="uk-table uk-table-justify uk-table-small updatetable">
			    <tbody>
			    {eval $upnums=0;}
			    	{loop $paihangbang['update'] $k $c}
			    	{if $upnums < 15}
			    	{eval $upnums++;}
			        <tr>
			            <td class="tdcate">
			            	<a class="xg1 xs1" href="{eval echo jamesonurl('category',$book['category_id']);}">[{$categorys[$c['parent_id']]['sub'][$c['category_id']]['category_name']}]</a>
			            </td>
			            <td class="uk-text-truncate">
			            	<a class="color-360" href="{eval echo jamesonurl('book',$c['book_id']);}">{$c['book_name']}</a>
			            	<a href="{eval echo jamesonurl('thread',$c['tid'],$c['pid'],$_G['uid']);}" class="xg1 xs1">{$c['subject']}</a>
			            </td>
			            <td class="uk-text-right xg1 xs1 tdauthor"><a href="./plugin.php?id=jameson_read&contrl=index&act=zuozhe&zuozhe_name={$c['author']}">{$c['author']}</a> <span class="pipe"> &nbsp;</span> {eval echo dgmdate($c['addtime']);}</td>
			        </tr>
			        {/if}
			        {/loop}
			    </tbody>
			</table>
		</div>
	</div>
</div>
<!--{if $indexadv[3]['adv']}-->
<div class="advbanner mtm mbm">
    <!--{eval echo stripcslashes($indexadv[3]['adv']);}-->
</div>
<!--{/if}-->
<!--[diy=diy2]--><div id="diy2" class="area"></div><!--[/diy]-->
{subtemplate jameson_read:gjj/read_footer}